Tables [dbo].[CommunicationReasonRef]
Properties
PropertyValue
Created10:31:16 AM Tuesday, March 02, 2010
Last Modified11:40:01 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_CommunicationReasonRef: CommunicationReasonKeyForeign Keys FK_CommunicationReasonRef_UniformRegistry: [dbo].[UniformRegistry].CommunicationReasonKeyCommunicationReasonKeyuniqueidentifier16
No
CommunicationReasonDescnvarchar(100)200
No
Formulanvarchar(500)1000
No
IsDefaultTypebit1
No
DefaultOptOutFlagbit1
No
CannotOptOutFlagbit1
No
((0))
IsSolicitationbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_CommunicationReasonRef: CommunicationReasonKeyPK_CommunicationReasonRefCommunicationReasonKey
Yes
Foreign Keys Foreign Keys
NameColumns
FK_CommunicationReasonRef_UniformRegistryCommunicationReasonKey->[dbo].[UniformRegistry].[UniformKey]
SQL Script
CREATE TABLE [dbo].[CommunicationReasonRef]
(
[CommunicationReasonKey] [uniqueidentifier] NOT NULL,
[CommunicationReasonDesc] [nvarchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Formula] [nvarchar] (500) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsDefaultType] [bit] NOT NULL,
[DefaultOptOutFlag] [bit] NOT NULL,
[CannotOptOutFlag] [bit] NOT NULL CONSTRAINT [DF_CommunicationReasonRef_CannotOptOutFlag] DEFAULT ((0)),
[IsSolicitation] [bit] NOT NULL CONSTRAINT [DF_CommunicationReasonRef_IsSolicitation] DEFAULT ((0))
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[CommunicationReasonRef] ADD CONSTRAINT [PK_CommunicationReasonRef] PRIMARY KEY CLUSTERED ([CommunicationReasonKey]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CommunicationReasonRef] ADD CONSTRAINT [FK_CommunicationReasonRef_UniformRegistry] FOREIGN KEY ([CommunicationReasonKey]) REFERENCES [dbo].[UniformRegistry] ([UniformKey])
GO
Uses
Used By